<?php echo $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<?php echo $this->headMeta(); ?>
<?php echo $this->headTitle(); ?>
<?php echo $this->headStyle(); ?>
<?php echo $this->headLink(); ?>
<?php echo $this->headScript(); ?>
</head>
<body>
    <div id="top">
    	<div id="logo"><h2 style="font-size: 24px;margin: 0px;color: #F7F7F7;"><i18n>MENU_classifieds_administration_panel</i18n></h2></div>
    	<div id="toplinks">
    	<?php 
//    	    $identity = Mkk_Service_Authentication::getIdentity();
    	?>
			<i18n replacement="<?php echo $this->escape($identity['display_name']); ?>">MENU_hello</i18n><br />
			<a href="/admin/admin/change-password/id/<?php echo $this->escape($identity['id']); ?>" title="<i18n>MENU_change_password</i18n>">
				<i18n>MENU_change_password</i18n>
			</a>&nbsp;|
			<a href="/admin/admin/logout" title="<i18n>MENU_logout</i18n>">
				<i18n>MENU_logout</i18n>
			</a>
    	</div>
    </div>
	<div id="mainmnav">
	    <?php 
	        $partial = array('menu.phtml', 'admin');
            $this->navigation()->menu()->setPartial($partial);
            echo $this->navigation()->menu()->render(); 
	    ?>
    </div>
    <div id="mainm_inner"></div>
    <br class="eos" />
    <div id="main">
    	<?php  echo $this->layout()->content; ?>
    </div>
    <br class="eos">
    <div class="copyright">- Admin Interface</div>
</body>
</html>
